package com.hoozhi.education.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.hoozhi.common.web.hibernate.HibernateSimpleDao;
import com.hoozhi.education.dao.EduUserDao;
import com.hoozhi.education.entity.EduUser;

@Repository
public class EduUserDaoImpl extends HibernateSimpleDao<EduUser, Long> implements EduUserDao {

	@Override
	public EduUser findById(Integer id) {
		return getHibernateTemplate().get(EduUser.class, id);
	}

	@Override
	public List<EduUser> fingAll() {
		return createQuery("from EduUser");
	}

	@Override
	public EduUser save(EduUser user) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public EduUser update(EduUser user) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void delete(EduUser user) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void deleteById(Integer uid) {
		// TODO Auto-generated method stub
		
	}

}
